/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.core.dao;

import java.util.List;

import com.core.exception.DAOException;

/**
 * 
 * @author himanasser
 */
public interface DAO<T> {
	public void insert(T o) throws DAOException;

	public T findById(int id) throws DAOException;

	public List<T> findAll() throws DAOException;

	public void delete(int id) throws DAOException;

	public void update(T o) throws DAOException;
}
